﻿@model List<Super.Entities.InterfaceType>
@{
    Layout = null;
}
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a class="add" href="/admin/InterfaceType/edit" mask="true" target="dialog" height="150"  rel="InterfaceType_Edit"><span>添加</span></a></li>
            <li><a class="delete" href="/admin/InterfaceType/Delete?id={sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
            <li><a class="edit" href="/admin/InterfaceType/edit?id={sid_user}" mask="true" target="dialog" height="150" rel="InterfaceType_Edit"><span>修改</span></a></li>
            <li class="line">line</li>
        </ul>
    </div>
    <table class="table" width="100%" layouth="138">
        <thead>
            <tr>
                <th width="120" align="center">接口名称</th>
                <th width="120" align="center">设备数量</th>
                <th width="120" align="center">创建时间</th>
            </tr>
        </thead>
        <tbody>
            @foreach (var item in Model)
            {
                <tr target="sid_user" rel="@item.ID">
                    <td align="center">@item.Model</td>
                    <td align="center">@item.ProductInterfaceType.Count</td>
                    <td align="center">@item.CreateTime.ToShortDateString()</td>
                </tr>
            }
        </tbody>
    </table>
</div>
